/*
 * Copyright (c) JoinQuant Development Team
 * Author: Huayong Kuang <kuanghuayong@joinquant.com>
 */

#include <iostream>

using namespace std;

int main(void)
{
    int z1 = 0;
    float z2 = 0.0;
    double z3 = 0.0;

    cout << "int 0 == 0: " << (z1 == 0 ? "true" : "false") << endl;
    cout << "int 0 == 0.0: " << (z1 == 0.0 ? "true" : "false") << endl;
    cout << "float 0.0 == 0: " << (z2 == 0 ? "true" : "false") << endl;
    cout << "float 0.0 == 0.0: " << (z2 == 0.0 ? "true" : "false") << endl;
    cout << "double 0.0 == 0: " << (z3 == 0 ? "true" : "false") << endl;
    cout << "double 0.0 == 0.0: " << (z3 == 0.0 ? "true" : "false") << endl;

    return 0;
}
